package cn.huiyunche.base.service.mappers.ext;

import cn.huiyunche.base.service.vo.CWaybillByIdVo;
import cn.huiyunche.base.service.vo.CWaybillVeneerVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface CWaybillViewMapper {

    /**
     * 根据运单ID 查询运单详情
     *
     * @param id
     * @return
     */
    CWaybillByIdVo selectByPrimaryKey(Long id);

    /**
     * 根据运单ID查询服务订单调度详情
     *
     * @param ids
     * @return
     */
    List<CWaybillByIdVo> selectByIds(@Param(value = "ids") List<Long> ids);

    /**
     * 运单计数
     *
     * @param paramsMap
     * @return
     */
    int countVeneersByConditons(Map<String, Object> paramsMap);

    /**
     * 运单列表
     *
     * @param paramsMap
     * @return
     */
    List<CWaybillVeneerVo> selectVeneersByConditons(Map<String, Object> paramsMap);
}